using System.Linq;

namespace OpenWaves.HtmlEncoding
{
    public class RootToken : HtmlToken
    {
        public RootToken(int startIndex, int endIndex) : base(startIndex, endIndex)
        {
        }

        public override void Render(IHtmlWriter writer)
        {
            foreach (var token in Children)
            {
                token.Render(writer);
            }
        }
    }
}